[#include "/app/common/layout/__frontmainlayout.html"/]
[@mainlayout pageJavascript=pageJavascript currentMenu="dealFlag"]
<div class="page-header">
	<h1>
		未处理故障 
	</h1>
</div>
<div class="row">
	<div class="col-xs-12">
		<div class="center">
	<input type="hidden" name="do" value="report">
	<table class="table table-bordered table-hover ">
		<thead>
			<tr>
				<th width="2%">序号</th>
				<th width="10%">标题</th>
				<th width="5%">申报部门</th>
				<th width="3%">申报人</th>
				<th width="5%">申报时间</th>
				<th width="2%">当前状态</th>
				<th width="5%">操作</th>
			</tr>
		</thead>
				<tbody>
			[#list operatePage.getList() as operate]
			<tr >
				<td >${operate_index+1}</td>
				<td style="text-align:left;">${(operate.title)!}</td>
				<td style="text-align:left;">${(operate.off_paname)!}</td>
				<td style="text-align:left;">${(operate.off_user)!}</td>
				<td style="text-align:left;">${(operate.offer_at)!}</td>
				<td >
					<b>
					[#if operate.status=0]
					<span class="green">已处理</span>
					[#elseif operate.status=1]
					<span class="orange">处理中</span>
					[#elseif operate.status=2]
					<span class="gray">未处理</span>
					[/#if]
					</b>
				</td>
				<td style="text-align:left;">
					<a class="btn btn-minier btn-primary "  href="${ContextPath}/operate/edit?id=${operate.id}" >处理</a>
				</td>
			</tr>
			[/#list]
			[#if operatePage.getList().size()!=10]
			[#assign size=(10-operatePage.getList().size())]
				[#list 1..size as t]
					<tr>
						<td>${(operatePage.getList().size()+t)!}</td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
				[/#list]
			[/#if]
		</tbody>
	</table>
	[#include "/app/common/inc/_paginate.html" /]
	[@paginate currentPage=operatePage.pageNumber totalPage=operatePage.totalPage actionUrl="/operate/deal/" /]
		</div>
	</div>
</div>
[/@mainlayout]